package com.yhsoft.sys.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yhsoft.sys.controller.Response.WorkOrderInfoOutVo;
import com.yhsoft.sys.entity.WorkOrderInfo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 工单信息表 Mapper 接口
 * </p>
 *
 * @author yyyyyyyh
 * @since 2023-11-20
 */
public interface WorkOrderInfoMapper extends BaseMapper<WorkOrderInfo> {

    IPage<WorkOrderInfoOutVo> getList(IPage<WorkOrderInfoOutVo> page, @Param("ew") Wrapper wrapper);

    Integer getCount(Integer companyId);

    Integer getCountBySaler(Integer companyId);


}
